<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:82:"E:\andiffcrm\fastadmin20180314\public/../application/admin\view\test\test\add.html";i:1521753314;s:73:"E:\andiffcrm\fastadmin20180314\application\admin\view\layout\default.html";i:1521019243;s:70:"E:\andiffcrm\fastadmin20180314\application\admin\view\common\meta.html";i:1521019243;s:72:"E:\andiffcrm\fastadmin20180314\application\admin\view\common\script.html";i:1521019243;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
		<div class="form-group">
				<label for="c-title" class="control-label col-xs-12 col-sm-2">标题:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-catid" class="control-label col-xs-12 col-sm-2">类别:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="selects3">
								<a class="arrow"><img alt="arrowbottom" src="http://qd.andiff.net/netimages/arrow_bottom.png" /></a>
								<span class="selected3">请选择</span>								<input type="hidden" id="catid" name="row[catid]" value="" />
						</div>
				</div>
		</div>
		<div class="form-group">
				<label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="radio" for="status" >
								<label for="status"><input name="row[status]" type="radio" value="1" /> 正常</label>
								<label for="status"><input name="row[status]" type="radio" value="2" /> 推荐</label>
								<label for="status"><input name="row[status]" type="radio" value="3" /> 关闭</label>
						</div>
				</div>
		</div>
		<div class="form-group">
				<label for="c-begintime" class="control-label col-xs-12 col-sm-2">开始日期:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-begintime" data-rule="0" class="form-control datetimepicker" name="row[begintime]" type="text" value="" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-thumb" class="control-label col-xs-12 col-sm-2">图片:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="input-group">
								<input id="c-thumb" class="form-control" size="50" name="row[thumb]" type="text" value="" />
								<div class="input-group-addon no-border no-padding">
										<span><button type="button" id="plupload-thumb" class="btn btn-danger plupload" data-input-id="c-thumb" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-thumb"><i class="fa fa-upload"></i>上传</button></span>
								</div>
								<span class="msg-box n-right"></span>
						</div>
						<ul class="row list-inline plupload-preview" id="p-thumb"></ul>
				</div>
		</div>
		<div class="form-group">
				<label for="c-filepath" class="control-label col-xs-12 col-sm-2">文件:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="input-group">
								<input id="c-filepath" class="form-control" size="50" name="row[filepath]" type="text" value="" />
								<div class="input-group-addon no-border no-padding">
										<span><button type="button" id="plupload-filepath" class="btn btn-danger plupload" data-input-id="c-filepath" data-mimetype="application/msword,application/pdf,application/vnd.ms-excel,application/vnd.ms-powerpoint,application/zip" data-multiple="false"><i class="fa fa-upload"></i>上传</button></span>
								</div>
								<span class="msg-box n-right"></span>
						</div>
				</div>
		</div>
		<div class="form-group">
				<label for="c-content" class="control-label col-xs-12 col-sm-2">内容:</label>
				<div class="col-xs-12 col-sm-8">
						<textarea name="row[content]" id="c-content" cols="60" rows="10" class="form-control summernote"></textarea>
				</div>
		</div>
				<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2"></label>
						<div class="col-xs-12 col-sm-8">
								<button type="submit" class="btn btn-success btn-embossed">确定</button>
								<button type="reset" class="btn btn-default btn-embossed">重置</button>
						</div>
		</div>
</form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>
    </body>
</html>